package com.schoolgard.entitybean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "VIEW_SCHOOL_DATA")
public class SchoolData implements java.io.Serializable{
	
	private static final long serialVersionUID = -148938454672374664L;

	public Long id;
	
	public String name;
	
	public String regionalCode;

	@Id
	@Column(name = "SCHOOLID",unique = true, nullable = false)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "SCHOOL_NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "REGIONALCODE")
	public String getRegionalCode() {
		return regionalCode;
	}

	public void setRegionalCode(String regionalCode) {
		this.regionalCode = regionalCode;
	}
	

}
